package cn.iocoder.yudao.module.els.controller.admin.codeGeneratorSerial.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 编码生成器序列新增/修改 Request VO")
@Data
public class CodeGeneratorSerialSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28360")
    private Long id;

    @Schema(description = "流水号key值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "流水号key值不能为空")
    private String serialKey;

    @Schema(description = "流水号值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "流水号值不能为空")
    private Integer serialValue;

    @Schema(description = "id", example = "4372")
    private Long generatorId;

}